<template>
  <!-- 展品填报 -->
  <div class="fill_in_the_exhibits_form">
    <div class="topBtn">
      <button @click="gotoAdd">增加展品</button>
    </div>
    <div class="itemList">
      <div class="listTitle">
        <div class="title" v-for="(item,index) in listTitle" :key="index">{{item.title}}</div>
      </div>
      <div class="item" v-for="(item,index) in itemList" :key="index">
        <div>{{index+1}}</div>
        <div>{{item.text1}}</div>
        <div>{{item.text2}}</div>
        <div>{{item.text3}}</div>
        <div>{{item.text4}}</div>
        <div>{{item.text5}}</div>
        <div>{{item.text6}}</div>
        <div>{{item.text7}}</div>
        <div>{{item.text8}}</div>
        <div class="operation">
          <span class="modify">修改</span>
          <span>删除</span>
        </div>
      </div>
    </div>
  </div>
</template>
<script>
// import VueUeditorWrap from "vue-ueditor-wrap";
export default {
  name: "",
  components: {},
  data() {
    return {
      listTitle: [
        { title: "序号" },
        { title: "预热展品主页" },
        { title: "产品概要" },
        { title: "加工视频" },
        { title: "典型样件" },
        { title: "成线情况" },
        { title: "连线情况" },
        { title: "发展史" },
        { title: "样本下载" },
        { title: "操作" },
      ],
      itemList: [
        {
          text1: "已提交",
          text2: "草稿",
          text3: "已提交",
          text4: "草稿",
          text5: "已提交",
          text6: "草稿",
          text7: "已提交",
          text8: "草稿",
        },
        {
          text1: "已提交",
          text2: "草稿",
          text3: "已提交",
          text4: "草稿",
          text5: "已提交",
          text6: "草稿",
          text7: "已提交",
          text8: "草稿",
        },
        {
          text1: "已提交",
          text2: "草稿",
          text3: "已提交",
          text4: "草稿",
          text5: "已提交",
          text6: "草稿",
          text7: "已提交",
          text8: "草稿",
        },
        {
          text1: "已提交",
          text2: "草稿",
          text3: "已提交",
          text4: "草稿",
          text5: "已提交",
          text6: "草稿",
          text7: "已提交",
          text8: "草稿",
        },
        {
          text1: "已提交",
          text2: "草稿",
          text3: "已提交",
          text4: "草稿",
          text5: "已提交",
          text6: "草稿",
          text7: "已提交",
          text8: "草稿",
        },
        {
          text1: "已提交",
          text2: "草稿",
          text3: "已提交",
          text4: "草稿",
          text5: "已提交",
          text6: "草稿",
          text7: "已提交",
          text8: "草稿",
        },
      ],
    };
  },
  created() {},
  methods: {
    gotoAdd() {
      // console.log(1);
      this.$router.push({
        path: "/addExhibits",
      });
    },
  },
  mounted() {},
};
</script>
<style lang='less' scoped>
.fill_in_the_exhibits_form {
  margin: auto;
  margin-top: 0.3rem;
  width: 15.79rem;
  // height: 7rem;
  background: rgba(255, 255, 255, 1);
  border-radius: 0.08rem;
  padding: 0.4rem 0 1rem 0.55rem;
  box-sizing: border-box;
  font-size: 0.16rem;
  .topBtn {
    button {
      width: 0.9rem;
      height: 0.4rem;
      background: rgba(0, 76, 179, 1);
      border-radius: 0.05rem;
      color: #fff;
      border: none;
      outline: none;
      font-weight: bold;
      cursor: pointer;
    }
  }
  .itemList {
    // border: 1px solid red;
    width: 13rem;
    margin-top: 0.2rem;
    color: #333333;
    .listTitle {
      display: flex;
      height: 0.4rem;
      line-height: 0.4rem;
      background: rgba(250, 250, 250, 1);
      border: 0.01rem solid rgba(204, 204, 204, 1);
      .title {
        flex: 1;
        text-align: center;
      }
    }
    .item {
      display: flex;
      div {
        flex: 1;
        text-align: center;
        line-height: 0.5rem;
      }
      .operation {
        .modify {
          color: #e10000;
          margin-right: 0.3rem;
        }
        span {
          cursor: pointer;
        }
      }
    }
  }
}
</style>
